package com.ruoyi.huoyun.bargain.service;

import java.util.List;
import com.ruoyi.huoyun.bargain.domain.PaymentAgreementInfo;

/**
 * 支付协议Service接口
 *
 * @author mj
 * @date 2021-11-29
 */
public interface IPaymentAgreementInfoService
{
    /**
     * 查询支付协议
     *
     * @param paymentAgreementId 支付协议主键
     * @return 支付协议
     */
    public PaymentAgreementInfo selectPaymentAgreementInfoByPaymentAgreementId(Integer paymentAgreementId);

    /**
     * 查询支付协议列表
     *
     * @param paymentAgreementInfo 支付协议
     * @return 支付协议集合
     */
    public List<PaymentAgreementInfo> selectPaymentAgreementInfoList(PaymentAgreementInfo paymentAgreementInfo);

    /**
     * 新增支付协议
     *
     * @param paymentAgreementInfo 支付协议
     * @return 结果
     */
    public int insertPaymentAgreementInfo(PaymentAgreementInfo paymentAgreementInfo);

    /**
     * 修改支付协议
     *
     * @param paymentAgreementInfo 支付协议
     * @return 结果
     */
    public int updatePaymentAgreementInfo(PaymentAgreementInfo paymentAgreementInfo);

    /**
     * 批量删除支付协议
     *
     * @param paymentAgreementIds 需要删除的支付协议主键集合
     * @return 结果
     */
    public int deletePaymentAgreementInfoByPaymentAgreementIds(Integer[] paymentAgreementIds);

    /**
     * 删除支付协议信息
     *
     * @param paymentAgreementId 支付协议主键
     * @return 结果
     */
    public int deletePaymentAgreementInfoByPaymentAgreementId(Integer paymentAgreementId);
}
